package com.hiof.servercommunication.receive.beans;

public class LocationInfoPacket implements Packet {

    private double distance;
    private double predictedTime;
    private String message;

    public LocationInfoPacket() {
    }

    public LocationInfoPacket(double distance, double predictedTime,
                              String message) {
        this.distance = distance;
        this.predictedTime = predictedTime;
        this.message = message;
    }

    public double getDistance() {
        return this.distance;
    }

    public void setDistance(double distance) {
        this.distance = distance;
    }

    public double getPredictedTime() {
        return this.predictedTime;
    }

    public void setPredictedTime(double predictedTime) {
        this.predictedTime = predictedTime;
    }

    public String getMessage() {
        return this.message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
